﻿@model ASPNETMVC4Tutorial.Models.Product

@{
    ViewBag.Title = "Razor @Model Products";
}

<h2>Razor expression</h2>
<table>
    <thead>
        <tr><th>Property</th><th>Value</th></tr>
    </thead>
    <tbody>
        <tr><td>Name</td><td>@Model.Name</td></tr>
        <tr><td>Price</td><td>@Model.Price</td></tr>
        <tr><td>Stock Level</td><td>@ViewBag.ProductCount</td></tr>
    </tbody>
</table>

